WPSecurityNinja\Plugin\Wf_Sn_Tests D

Total Complexity 304
Dependencies 2
Dependents 0
Total lines 2,997
Lines of code 1,766
Logical lines of code 957
Comment lines 688
Methods 59
Properties 1

Methods 59

Method Rating Maintainability Complexity Lines of code
content_security_policy()
B
41 17 50
incompatible_plugins()
B
39 16 62
tim_thumb_scan()
A
41 13 58
old_plugins()
A
41 13 52
php_headers()
A
41 12 55
return_security_tests()
A
27
1 216
bruteforce_login()
A
43 11 46
wp_header_meta()
A
43 9 47
dangerous_files()
A
43 7 46
rpc_meta()
S
44 6 43
wlw_meta()
S
44 6 43
x_content_type_options()
S
45 6 42
x_frame_options()
S
45 6 42
referrer_policy()
S
45 6 41
strict_transport_security()
S
45 6 41
feature_policy()
S
45 6 40
core_updates_check()
S
52 7 24
salt_keys_check()
S
47 6 38
shellshock_6271()
S
47 6 35
deactivated_themes()
S
44 5 48
check_server_ssl()
S
57 7 16
shellshock_7169()
S
47 5 35
check_failed_login_info()
S
48 5 33
usernames_enumeration()
S
50 5 27
salt_keys_age_check()
S
52 5 24
themes_ver_check()
S
53 5 22
db_password_check()
S
54 5 21
ver_check()
S
55 5 19
mysql_external()
S
54 5 19
tim_thumb()
S
55 5 17
rest_api_enabled()
S
50 4 31
uploads_browsable()
S
50 4 27
mysql_ver()
S
52 4 26
debug_log_file_check()
S
51 4 26
config_chmod()
S
51 4 24
deactivated_plugins()
S
52 4 21
mysql_permissions()
S
54 4 21
admin_ssl()
S
55 4 19
plugins_ver_check()
S
58 4 14
db_table_prefix_check()
S
60 4 12
php_ver()
S
56 3 19
application_passwords()
S
58 3 16
anyone_can_register()
S
58 3 15
safe_mode_check()
S
58 3 15
expose_php_check()
S
58 3 15
script_debug_check()
S
62 3 11
debug_check()
S
62 3 11
file_editor()
S
62 3 11
try_login()
S
65 3 8
rest_api_links()
S
59 2 14
config_location()
S
59 2 14
register_globals_check()
S
60 2 13
allow_url_include_check()
S
60 2 13
blog_site_url_check()
S
60 2 13
db_debug_check()
S
61 2 12
id1_user_check()
S
61 2 12
display_errors_check()
S
61 2 12
user_exists()
S
62 2 11
dictionary_attack()
S
66 2 8